package com.itheima.d2_regex;

public class RegexTest1 {
    public static void main(String[] args) {
        //正则表达式
        String regex = "abc";
        System.out.println(regex);

        //正则表达式匹配
        String text = "abc";
        boolean matches = regex.matches(text);
        System.out.println(matches);
    }
}
